import { Button } from "antd";
import { useNavigate } from "react-router-dom";

export default () => {
  const navigate = useNavigate();
  return (
    <Button
      onClick={() => {
        navigate("/dashboard");
      }}
    >
      点击登录
    </Button>
  );
};
